import 'package:flutter_cache_manager/flutter_cache_manager.dart';

class SingletonCache {
  static final SingletonCache _instance = SingletonCache._internal();

  factory SingletonCache.getInstance() {
    return _instance;
  }

  SingletonCache._internal() {
    manager = CacheManager(Config(
      "CachedNetworkImageKey",
      stalePeriod: const Duration(days: 3),
      maxNrOfCacheObjects: 200,
    ));
  }



  late CacheManager manager;
}
